package CH8;

/**
 * Created by Cai Ye on 2016/4/24.
 */

import java.util.ResourceBundle;

import static java.lang.System.out;

public class Hello {
    public static void main(String[] args) {
        ResourceBundle res = ResourceBundle.getBundle("messages");
        out.print(res.getString("CH8.welcome") + "!");
        out.println(res.getString("CH8.name") + "!");
    }
}
